/*  1:   */ package com.atomikos.datasource.xa.session;
/*  2:   */ 
/*  3:   */ import com.atomikos.icatch.CompositeTransaction;
/*  4:   */ import com.atomikos.icatch.HeuristicMessage;
/*  5:   */ import com.atomikos.icatch.system.Configuration;
/*  6:   */ 
/*  7:   */ class TerminatedStateHandler
/*  8:   */   extends TransactionContextStateHandler
/*  9:   */ {
/* 10:   */   TerminatedStateHandler()
/* 11:   */   {
/* 12:38 */     super(null, null);
/* 13:   */   }
/* 14:   */   
/* 15:   */   TransactionContextStateHandler checkEnlistBeforeUse(CompositeTransaction ct, HeuristicMessage hmsg)
/* 16:   */     throws InvalidSessionHandleStateException
/* 17:   */   {
/* 18:43 */     String msg = "Detected illegal attempt to use a terminated XA session";
/* 19:44 */     Configuration.logWarning(msg);
/* 20:45 */     throw new InvalidSessionHandleStateException(msg);
/* 21:   */   }
/* 22:   */   
/* 23:   */   TransactionContextStateHandler sessionClosed()
/* 24:   */   {
/* 25:50 */     return null;
/* 26:   */   }
/* 27:   */   
/* 28:   */   TransactionContextStateHandler transactionTerminated(CompositeTransaction ct)
/* 29:   */   {
/* 30:55 */     return null;
/* 31:   */   }
/* 32:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions-jta\3.7.0\transactions-jta-3.7.0.jar
 * Qualified Name:     com.atomikos.datasource.xa.session.TerminatedStateHandler
 * JD-Core Version:    0.7.0.1
 */